package com.cropdoctor.model.dto;

import com.cropdoctor.model.po.CommentPo;
import com.cropdoctor.model.po.PostPo;
import com.cropdoctor.model.vo.CommentVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "PostDto",description = "论坛帖子相关Dto")
public class PostDto extends PostPo {
    private List<CommentVO> comments;//帖子下的所有评论
    private String avatarUrl;
    private String userName;
    private boolean isLike;
}
